package com.neusoft.ecommerce.service;

import com.neusoft.ecommerce.entity.Manager;
import com.neusoft.ecommerce.exception.EcommerceException;

/**
 * @author 紫煦桉
 */
public interface ManagerService extends SuperService<Manager> {
    /**
     * login
     * @param manager
     * @return
     * @throws EcommerceException
     */
    Manager login(Manager manager) throws EcommerceException;

    /**
     * findManagerName
     * @param manager
     * @return
     * @throws EcommerceException
     */
    Manager findManagerName(Manager manager) throws EcommerceException;
}
